global class testCurrency {
webservice static String getCreditRating()
{
//      wwwWebservicexNet ws=new wwwWebservicexNet();
      wwwWebservicexNet.CurrencyConvertorSoap cc=new wwwWebservicexNet.CurrencyConvertorSoap();
      double res=0.0;

      try {
      	res=cc.ConversionRate('ZWD','AFA');  }
      catch (exception e) {
      	string Temp='An Error Occured: '+e.getmessage();
      	return Temp;
      }
	  
      string Temp='The currency conversion rate from '+'ZWD'+' to '+'AFA'+' is ' +String.valueOf(res);
      return Temp;
}}